import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.GregorianCalendar;
import java.util.LinkedList;


public class MainBall extends Ball{

	public MainBall(int name)
	{
		this.odd = 0;
		this.name = name;
		this.dates = new LinkedList<GregorianCalendar>();
		this.daysInBetween = new LinkedList<Integer>();
		
		this.threeDMatrix = new ThreeDMatrix();
		this.fourDMatrix = new FourDMatrix();
		this.fiveDMatrix = new FiveDMatrix();
	}
	
	
	public static void main(String[] args)
	{
		MainBall temp = new MainBall(1);
		//temp.addDate(2012, 7, 31);
		//temp.addDate(2012, 8, 3);
		for(Calendar day: temp.getDates())
		{
			System.out.println(day.getTime());
		}
		Calendar cal1 = new GregorianCalendar(2010, 9, 22);
		Calendar cal2 = new GregorianCalendar(2011, 9, 23);
		System.out.println(cal1.getTimeInMillis());
		System.out.println(cal2.getTimeInMillis());
		
		GregorianCalendar calendar = new GregorianCalendar();
		System.out.println(calendar.get(GregorianCalendar.YEAR) + "/" + calendar.get(GregorianCalendar.MONTH) + "/" + calendar.get(GregorianCalendar.DAY_OF_MONTH));
	}
	

}
